package cn.manter.user.mapper;

import cn.manter.basic.dto.LoginDto;
import cn.manter.user.domain.Logininfo;
import cn.manter.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-07-05
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {


    Logininfo loadByUsernameAndType(LoginDto loginDto);

    Logininfo loadByUserId(Long userId);
}
